package com.tengniu.buss.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tengniu.buss.domain.base.BussBaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 按摩椅分账配置表
 * @TableName buss_massage_chair_split_config
 */
@TableName(value ="buss_massage_chair_split_config")
@Data
public class MassageChairSplitConfig extends BussBaseEntity implements Serializable {
    /**
     * 按摩椅分账配置id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 按摩椅id
     */
    private Integer chairId;

    /**
     * 分账接收方用户类型 0:厂家 1:代理商 2:投放方 3:平台
     */
    private Integer splitMemberType;

    /**
     * 分账比例
     */
    private BigDecimal splitRate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}